package service.impl;


import dao.DeptDao;
import service.DeptService;

public class DeptServiceImpl implements DeptService {
    private DeptDao dao;

    public DeptDao getDao() {
        return dao;
    }

    public void setDao(DeptDao dao) {
        this.dao = dao;
    }

    @Override
    public String getNameById(Integer id) {
        return getDao().getNameById(id);
    }
}
